<template>
  <button @click="hAddRoute">addRoute</button>
</template>

<script>
export default {
  methods: {
    hAddRoute() {
      this.$router.addRoutes([{
        path: '/abc',
        component: () => import('@/views/abc')
      }])
    }
  }
}
</script>

<style>

</style>
